//
//  XRCommonPopTipView.h
//  LiveIMTool
//
//  Created by NeiQuan on 16/10/27.
//  Copyright © 2016年 AlexiChen. All rights reserved.
//

#import <UIKit/UIKit.h>
// 用于提示栏
// 目的 优化提示栏信息
// 添加背景模糊效果
typedef NS_ENUM(NSUInteger, SendKeyBtnType)
{
    SendKeyBtnTypeDone,  //确认
    SendKeyBtnTypeQs,    //取消
};
typedef NS_ENUM(NSUInteger, XRCommonPopTipViewType)
{
    SendKeyDoubleButton,  //两个按钮
    SendKeyOnlyButton,    //一个按钮
};
typedef void(^BtnBlock)(SendKeyBtnType type);
@interface XRCommonPopTipView : UIView

//默认两个按钮格式-->可自定义title
+(void)popMenuWithtitletext:(NSString *)text contentText:(NSString *)content  canceltitle:(NSString *)cancletitle confirmTitle:(NSString *)confirmTitle toPopView:(UIView *)view type:(BtnBlock)block;

//默认两个按钮格式
+(void)popMenuWithtitletext:(NSString *)text contentText:(NSString *)content toPopView:(UIView *)view type:(BtnBlock)block;
//一个或两个按钮格式-->根据tipType的类型改变
+(void)popMenuWithtitletext:(NSString *)text contentText:(NSString *)content popViewType:(XRCommonPopTipViewType)tipType  toPopView:(UIView *)view type:(BtnBlock)block;
//同上多一个内容对齐格式
+(void)popMenuWithtitletext:(NSString *)text contentText:(NSString *)content contextAlin:(NSTextAlignment)contextAlin popViewType:(XRCommonPopTipViewType)tipType  toPopView:(UIView *)view type:(BtnBlock)block;


@end
